<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>login</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	
	<link rel="stylesheet" type="text/css" href="css/login.css">
  </head>
  
  
  <body vlink="blue" link="red" alink="green">
  
  <!-- header begin -->
    <div class="header">
    	<a href="http://localhost:8080/practise/jsp/head.jsp"><img src="image/title.jpg"/></a>
    </div>
   <!-- header end --> 
    
    <!-- middle begin  -->
    <div class="middle" id="login_bg">
    	<div class="middle_pic">
    	<img src="image/eat.jpg"/>
    	</div>
    	<div class="login_form">
    		<div class="login_box">
    			<div class="mt">
    				<h1>欢迎登陆</h1>
    			</div>
    			<div class="msg-warn">
    			<b>*</b>
    			公共场所请确保登录安全，以防账号丢失
    			<div>
    			<br>
    			<form action="servlet/Login_Servlet" method="post">
    			<div class="txt">
    			<b>账号：</b>
    				<input id="login_name" name="login_name" type="text" class="name" placeholder="请输入账号"></input>
    			</div>
    			<br>
    			<div class="txt">
    			<b>密码：</b>
    				<input id="login_password" name="login_password" type="text" class="password" placeholder="请输入密码"></input>
    			</div>
    			<br>
    			<div class="forget">
    			<a href="#">忘记密码？</a>
  				</div>
  					  			<br><br>
    			<div class="button">
    			<input type="submit" name="Submit" value="登录"></input>&nbsp&nbsp&nbsp&nbsp
    			<a href="http://localhost:8080/practise/jsp/register.jsp">
    			<input type="button" name="register" value="注册"></input>
    			</a>
    			</div>
    			</form>
    			</div>
    		</div>
    	</div>
    </div>
    </div>
    <!-- middle end -->
    
    <!-- bottom begin  -->
    <div class="bottom_bar"></div>
    <div class="bottom_word">
	<p>航空港校区 | 四川省成都市西南航空港经济开发区学府路一段24号 | 右边610225 | 电话:028-85966502</p>
	<p>龙泉校区 | 成都市龙泉驿阳光城幸福路10号 | 邮编:610103 | 电话:028-84833333</p>
	<p>Copyringht 2003_2014 成都信息工程大学 建议使用IE8.0,1034*860以上浏览</p>
   </div>
    <!-- bottom end -->
  </body>
</html>
